Adds the specified item to the end of the collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Sub Add( _
ByVal item As T _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RasterCollection(Of T)
Dim item As T
instance.Add(item)
|
C# | |
---|
public virtual void Add(
T item
) |
Managed Extensions for C++ | |
---|
public: virtual void Add(
T item
) |
C++/CLI | |
---|
public:
virtual void Add(
T item
) |
Parameters
- item
- Object to add.
Return Value
The index of the newly added item.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also